package com.HZNU.spring_api.POJO;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * dept
 * @author 
 */
@Data
@NoArgsConstructor
@Accessors(chain = true) //链式写法
public class Dept implements Serializable {
    private Integer deptno;

    private String dname;

    private String dbSource;

    private static final long serialVersionUID = 1L;
    Dept(String dname){
        this.dname = dname;
    }
}